-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cortex-m: step over breakpoint #1604
Open
flit
wants to merge
31
commits into
pyocd:develop
Choose a base branch
from
flit:feature/step_over_bkpt
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…#1559) Also fixed some type errors.
…1562) self.reset() have a 0.5 second sleep when using hw reset. other reset types should not require any additional sleep. by removing this sleep it is possible to aquire targets where the application disable the swd port. Co-authored-by: Johan Carlsson <johan.carlsson@teenage.engineering>
Support C-style assignment expressions, such that variables can be assigned to in the middle of other expressions. Just as in C, the value of an assignment expression is the value assigned to the variable. While this syntax isn't documented in the Open-CMSIS-Pack specification, it is used in the Keil.LPC800_DFP pack and therefore is implicitly supported by debug sequences. The patch replaces the assign_stmt AST node with assign_expr, with the lowest precedence (same precedence as in C).
… no current session (pyocd#1565) If Session.current_session is accessed without a valid current session, an empty Session is created and retained via a strong reference. This mostly happens when session options are read prior to the main session being created. Since the ._current_session attribute is a weakref, the options session instance would previously be collected immediately after use, leading to repeated creation of options sessions in some cases.
- Rename "User documentation" heading to "User guide" - Move API architecture to be first under "Python API"
Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
…sed board info (pyocd#1591) If a CMSIS-DAP probe supports the v2.1 board and target info, but the board also has builtin board ID based data, then use the test binary name from the builtin data with the probe-supplied data.
…yocd#1593) If an exception is raised when probing an AP, increment the invalid AP count. The scan loop is cleaned up a bit too.
…mily (pyocd#1594) The IMXRT family class isn't needed for pack-based targets any more now that pyOCD supports the debug sequences present in the IMXRT packs.
…cd#1595) - Fix performance regression for CMSIS-DAPv2 on certain machines running Microsoft Windows by using a real multithreaded queue with blocking support for passing data from receive thread. - Re-raise exceptions that occur in the receive thread from .read(). - A few other small improvements.
Search only for the length of control block ID. Fixes pyocd#1533
flit
force-pushed
the
feature/step_over_bkpt
branch
from
August 9, 2023 14:14
ceddbbb
to
54a58aa
Compare
* fix hc32f030 flash size * fix hc32l13x series ram size and enable double buffering
Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com> Co-authored-by: iannxp <ian.baak@nxp.com>
…1638) * Add support for mps2_an521 * Generate reset when loading to Ram * Add support for soft-bkpt-as-hard
Resuming over software breakpoints is not implemented yet because it requires an event when the core is halted which is currently not available outside the gdbserver. For pyocd#1537
Some targets, notably the NXP LPC55S69, reading erased flash sectors will result in a memory fault. This change makes the flash erase and program test in basic_test.py compatible with such targets by skipping the erased sector readback verify.
flit
force-pushed
the
feature/step_over_bkpt
branch
from
November 2, 2023 14:11
54a58aa
to
90a15e5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement step over breakpoint for the
CortexM
class.This patch handles single and range step over both software breakpoints and
bkpt
instructions in the original code. Resume will also automatically skip over abkpt
instruction, but does not handle software breakpoints. This is because there is no event available outside the gdbserver that can be used to reinstall a temporarily-removed software breakpoint when the core halts.The
basic_test.py
functional test is extended to cover all step over breakpoint combinations.Fixes #1537